/*
 * Description: 报价supplyCloud调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/04/14 02:42
 */

import { httpPost } from '../../utils/axios-utils'

export function supplyCloudList(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/list', obj, authConfig)
}

export function supplyCloudQuery(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/query', obj, authConfig)
}

export function supplyCloudPageList(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/pageList', obj, authConfig)
}

export function supplyCloudAdd(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/add', obj, authConfig)
}

export function supplyCloudEdit(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/edit', obj, authConfig)
}

export function supplyCloudDelete(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/delete', obj, authConfig)
}

export function supplyCloudVendorQuota(obj, authConfig) {
  return httpPost('/smart-cost/supplyCloud/info/vendorQuota', obj, authConfig)
}

// 供应商GR
export function supplyCloudGRList(obj, authConfig) {
  return httpPost('/smart-cost/gr/info/list', obj, authConfig)
}

export function supplyCloudGRPageList(obj, authConfig) {
  return httpPost('/smart-cost/gr/info/pageList', obj, authConfig)
}

export function supplyCloudGRAdd(obj, authConfig) {
  return httpPost('/smart-cost/gr/info/add', obj, authConfig)
}

export function supplyCloudGREdit(obj, authConfig) {
  return httpPost('/smart-cost/gr/info/edit', obj, authConfig)
}

export function supplyCloudGRDelete(obj, authConfig) {
  return httpPost('/smart-cost/gr/info/delete', obj, authConfig)
}
